<?php
defined ( 'IN_ADMIN' ) or exit ( 'No permission resources.' );
include $this->view ( 'header', 'admin' );
?>
<style type="text/css">
.sbs {

}

.sbul {
	margin: 10px;
}

.sbul li {
	line-height: 30px;
}

.button {
	margin-top: 20px;
}

.subnav,.ifm {
	display: none;
}
</style>
<div class="pad-10">
	<form action="<?php echo U('admin/cache_all/init');?>"
		target="cache_if" method="post" id="myform" name="myform">
		<input type="hidden" name="dosubmit" value="1">
		<div class="col-2">
			<h6><?php echo L('tip_zone')?></h6>
			<div class="sbs" id="update_tips"
				style="height: 550px; overflow: auto;">
				<ul id="file" class="sbul">
				</ul>
			</div>
		</div>
		<!-- <input name="dosubmit" type="submit" class="dialog" id="dosubmit" value="<?php echo L('start_update')?>" onclick="$('#file').html('');return true;" class="btn btn-primary btn-sm"> -->
	</form>
	<iframe id="cache_if" name="cache_if" class="ifm"></iframe>
	<iframe id="hidden" name="hidden" width="0" height="0" frameborder=0></iframe>
</div>
<script type="text/javascript">
document.myform.submit();
function addtext(data) {
	$('#file').append(data);
	document.getElementById('update_tips').scrollTop = document.getElementById('update_tips').scrollHeight;
}
</script>
</body>
</html>